import { useEffect } from "react";
import { useNavigate } from "react-router-dom";

const LoginPage = () => {
  // navigate
  const navigate = useNavigate();

  const toHomePage = () => {
    navigate("/home");
  };

  useEffect(() => {}, []);
  return (
    <>
      <div onClick={toHomePage}>Login</div>
    </>
  );
};

export default LoginPage;
